package lt.ntec.danblog.server.core;

public class Message implements Messageable {

    private Type type;
    private String content;

    public Message(Type type, String content) {
        this.type = type;
        this.content = content;
    }

    @Override
    public String getContent() {
        return content;
    }

    @Override
    public Type getType() {
        return type;
    }

    @Override
    public String toString() {
        return content;
    }
}
